/**
 * Created by Fesine on 2016/2/24.
 */
Ext.define("core.app.view.MainViewLayout",{
   extend:'Ext.panel.Panel',
    border:0,
    layout:'border',
    alias: 'widget.mainviewlayout',
    width: 60,
    height: 60,
    items: [{
        region: 'north',
        xtype: 'topview'
    }, {
        xtype: 'westview',
        region: 'west'
    }, {
        xtype: 'panel',
        region: 'center',
        layout: 'fit',
        margins: '2 0 0 0',
        border: 0,
        items: [{
            xtype: 'centerview',
            border: 0
        }]
    }],
    //初始化组件
    initComponent: function () {
        //if(null !=userName){
        //	Ext.getCmp("displaylogin").setValue("<font color=red><b>"+userName+"</b>，欢迎您！</font>");
        //}
        this.callParent(arguments);
    }
});